package com.hqbzl.chat.model;

import com.hqbzl.chat.protocol.MessageType;
import lombok.Getter;

import java.io.Serializable;

import static com.hqbzl.chat.constant.Constants.PING_REQUEST_MSG_TYPE;

@Getter
public class PingRequestMessage implements MessageType, Serializable {
    private String msg;

    public PingRequestMessage() {
        this.msg = "ping";
    }

    @Override
    public int getMessageType() {
        return PING_REQUEST_MSG_TYPE;
    }

    @Override
    public int getSequenceId() {
        return 100;
    }

}
